Micron Document




JavaTest harness
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
The JavaTest harness (or jtreg) is a regression tests framework specifically designed by Sun Microsystems to test the reference Java platform implementation.cite-ref-jregfaq-2-0[2]

Although jtreg was originally designed to execute Technology Compatibility Kit (TCK) compliance tests, it is not designed to check compliance of a particular Java implementation to the specification, but to test any regressions suite for the Java platform.cite-ref-jregfaq-2-1[2]

Contents


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

History

jtreg started in 1997, during JDK 1.2 development.cite-ref-3[3] Being developed prior to JUnit existence, jtreg was initially not compatible with JUnit's test syntax,cite-ref-jregfaq-2-2[2] but later versions added a limited compatibility with JUnit.cite-ref-4[4]

Use in OpenJDK

OpenJDK, the open-source implementation of the Java programming languagecite-ref-5[5] encourages the use of jtreg tests for patch submissions.cite-ref-6[6]

See also
References

cite-note-11. "jtreg 4.1 download". OpenJDK community. Retrieved 2015-12-30.
cite-note-jregfaq-22. "jtreg FAQ". Oracle Corporation. Retrieved 2011-05-08.
cite-note-33. citerefgibbons2006Gibbons, Jonathan (2006-11-13). "wwwww.jtreg: The Who What Where When Why of jtreg". Retrieved 2011-05-08.
cite-note-44. citerefgibbons2010Gibbons, Jonathan (2010-05-27). "jtreg 4.1". Retrieved 2011-05-08.
cite-note-55. "OpenJDK Legal Documents". Sun Microsystems.
cite-note-66. "Regression Test Harness for the OpenJDK platform: jtreg". Retrieved 2008-08-26.

External links

• jtreg FAQ